package com.kfm.map;

import lombok.*;

@AllArgsConstructor
@Setter
@Getter
@ToString
@EqualsAndHashCode
public class Game implements Comparable<Game> {

    private String name;
    private double star;

    @Override
    public int compareTo(Game o) {
        return Double.compare(star, o.getStar());
    }
}
